Fix homework5.c for the new assignment specifications. Input is now copy pasted, and no longer redirected during execution.