Solutions for code challenges attempted