Rewrote Hand.cpp for missing functionality and added a test case