Added a function for extracting all sorts of compressed files.
Copied from http://dotfiles.org/~xabbott/.bashrc
more is less