Major bugfix, input

Didn't read input, only used static value from copypasta. Is fixed now.
Problem 5 solved

Finally. Comments will come later.
Added *.swp to .gitignore

Finally no more tempfiles showing up when commiting halfway through work.