implemented eating and sleeping
started adding skeleton of function to redraw table