CSC265: A1 solutions and A3 problems