initial commit of new algorithm
first pass to solve problem