Some C#scripts from HW3

If you feel like using these/ converting them to javascript, have a
blast!