added dice.cpp for dice.hpp