Converted to unix line endings.
Changed input() into raw_input() to fix error.
Program is now fully functioning. Next step is testing.