Initial commit. Wrote code a while ago, just uploading now.