added a buy method, but it is failing
can now buy a stock