added object recognition to tower defense ( (c) http://www.pygame.org/project-Color+Tower+Defense-1688-3754.html) . refactoring.