worked on Hand.h as well as fixed a bug in popFront/Back when called on head/tail