Assignment 1 Complexity