this was for school sorry if it is bad right arrow to move and left arrow to flip
i did this all my self