Hourglass - an ancient device for measuring time