Add method that checks whether the given key is defined in the hash
Use string for keys
Implement the imherited methods in MyTrends.cpp

This appears to be working for small test cases, but when using the
Controller.cpp it doesn't produce the expected output.