Update code to rust 0.8-dev
Add cat implementation