Added some code to badguy

 * the pixel color method of edge detection did not work out that well,
   have to find other method, perhaps by copying and modifying the
   for i in tiles loop in ball's update