Edited main.py

Changed spacing, added object class, added render function, made player
an object.