Merge pull request #3 from Moerov/master

First working draft.
learning
random centers