Added bob.cpp

The definition of the Bob class.