setting new layout
updatet readme
solved 1 and 2 with erlang.