Knitting hat generator with Sinatra skeleton