porting unsafe + imports
adding unsafe blocks
Merge pull request #10 from kud1ing/master

Port to rust 0.6