Added ways to make balanced brackets code and tests.
Tidied ways to make amount from change.