added using namespace std;
changed name of function to findMethodsInClass
moved findClassNames to super class