Create ps1c.py

problem set 1, problem 1c, initial commit