fjioejwfoi
gonna merge in jasons
added some comments
making lots of changes and also adding comments. some of your variable names really suck like wtf is s1 or s2?