updated coin.h to matched class in coin.cpp