Getting collision detection working and creating a begin game and lose state.