adapted First psuedocode into actual code
Merge branch 'master' of https://github.com/carlsc2/Opsys-HW4

Conflicts:
	main.py