Finished second function which is puzzle helper. So far task is done 40%