Final Code for Level 1(w/o timer and score)