how to do your homework at the last minute