Find Coins Function.

Here's the BFS, which returns an array, from a certain id in the struct array.  Array returned has shortest distance to the farthest distance.