Added Pseudo_code

Changed the while condition within Main, added the pseudocode needed
within the read function.