'8 puzzle' programming assignment was solved