Updated the code to accept negative input properly and also cleaned up the code by adding a fucntion for input of sequence numbers
updated a test case output called test0.txt for implemenation 0
delete implementationTest0.txt