Updated example to work with exsisting autoloads

My project uses composer. Using the __autoload function caused a conflict which resulted in the autolaod not working (as it was already registered).

The new function allows for it to work alongside composer just fine.
Merge pull request #2 from Relequestual/patch-1

Updated example to work with exsisting autoloads