Initialized dog and ball starting position

Also, coded update() function to include the dog and balls' new
positions.