Quickly made Pair class.
Amounts is malfunctionning -> needs tests