Added a little guide book of how I think the function should work.

Give it a look!