Separated the files implemented negative numbers.