Fix for issue #18
Fix for issue #18 (fixed the intialization of 'classes' variable)
Merge pull request #28 from wmartins/master

Fix for issue #18