that chooses a random location for the new apple. the x coordinate must start at 50 and then it adds a random amount to that between 0 and 400.
the y coordinate also starts at 50 and then it adds up to 250.
this was just a quick way to place the apples... and it sometimes puts apples floating in the air if it chooses a place that doesn't overlap the tree.