PROT completed. I should probably go back and make it use file input. Command input has limited length.