Second commit. Implemented all features, written a readme