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.