Ruby Version of RushHour Grid-Escape Game - Using ImageMagick