Exercise2 implementation.
Readme modified.