Added sensible comparison generator
Added virtual functions for working with arrays, slices, etc.
Make getLength static and take an ASTnode as input
Added and implemented getLengthIndex
Implemented static function getLength
Added virtual accessors for length and array type
Added useful default implementation for getArrayType