added sleep component

ability to enter sleep for the current day
altered the interaction with array that Jeremy did to improve robustness
added indication of hours on diary page