Added some solutions

More solutions in Lua and Ruby will follow later