A simple program that takes a messy floor (An array of numbers) and cleans it up using a robot.
Download the Sweeper Robot
Directions: Extract the file, compile all Java files and, run Test Robot to clean, GameBot to move all trash from the first index in the array to the last index, and GameBot2 to clean all tiles and dump the trash on the last index.