Created the entity class, a super class for individuals and surfaces,
which handles the coordinates and collision handling. tested =)