Implemented goLearn + some helper functions.
Removing commented code.