Implemented the compareTo method
performTransaction fixed. Some help methods added
Testbot ready for testing