Changed variables in Entity class to private and changed code to use getters and setters.
 Updating/adding documentation to methods and variables. Also added methods to the Entity's class to get the X position from the position vector, and updated code usage accordingly.