implementing replaceList method
readme update
refactor replaceList type checking
fixing mistakes in exception message
readme update
unit tests for replaceList method