- added test for edge cases in coins
- go through all coins and replace the parents if a longer path was found; only keep track under target