Adds exceptions and pushes the function PyObject to class constructor
Updates header file according to the changes in wordnet_reader.cpp