Added complexities for each question. Fixed Question 3e to handle negative numbers