Add CodeWriter class with pseudocode solution