CS124 stuff - mostly learning by dicking about