Created an array that sorted the exchange in the method SplitIntoDenomiations. I also fixed some minor buggs