Answer to http://www.reddit.com/r/lua/comments/1f8taf/new_to_lua_how_did_i_do/