split given amount into different denominations (easy)