Initial commmit, only layout.
Task is done.
Used http://habrahabr.ru/post/188700/ as an algorithm.