changed algo slightly
Merge branch 'master' of github.com:apuga855/research-project