modify readLine
Added the test function for readLine
Update files