Code for night 1 of beginner app