Homework for SpbAU computational geometry course