Simple algorithm examples. Say you get up at 6:30 a.