fix issue #3

* replace the stupid random solution generation implementation
fix issue #3

i forgot how to rebase commits