Moved assignment of 'in' and 'out' in 'Assignment2' to constructor.