all my methods are made and commented except for checkFloorCollision
because I don't know how to get it to work with position[].