Added almost every feature, kinda shitty code though.

 Doesn't print each line as it reads it though, it prints what number it interprets the line as.