add codes from solns to A1