Updated with DS from 260 and 360

Assignments from CS260 and CS360. THIS CODE IS UGLY

clean up soon.