Added new problems, inputs and outputs, and fixed bugs