Adding time complexity comments.
Adding answers to textbook questions.