Added LinkedGameObjects class for sorting objects to be painted. Along
with it a few other updates to the GameObject class, i.e. added a new
constructor that includes a ObjectLayer parameter and a getter for the
object layer.