Created a transaction class which contains one transaction.

- Upon initialising the attributes will be looped an set as instance variables.
Created a transactions class which can find a certain transaction.