Algorithm was included to solution