The submission for the Lab 4 Carved algorithms assignment