sinatra-partial gem
style changes
made puzzle a side-effect-free method of grid; tests