ruby hack night sliding puzzle