task from last tutorials - chess