protection from trying to use non-existent array element after switching from half_phase algorithm;
#12
Merge branch 'master' of https://github.com/TheGreenBox/step_course