Finished implementing buy and sell methods as well as their validate versions in transaction class