implemented 1-4

lol, a string method for java that says you should do it in place,
because so many java strings are mutable, right? anyway i 'cheated'
and used the rust std library, which means 2 minutes figuring out
which functions to call and an hour getting it to compile.

tests don't work  on 1-4 yet though, i'll have to see why.