Initial commit
sequential implementation is much more efficient & reinstated stayDown
code cleanup and add license
added license