added a floor class

the floor class extends gameobject