Added algo class & cleaned up Frog.java

changed loc to posn in worldimage
simplified deadFrog