Units 3&4 Algorithmics