Add functionality of moving objects on screen

The location of the object is updated by erasing the object, moving it
and drawing it in its new location.