added learn.hpp and learn.cpp
--learn now works
before big pvs revision