Updated readme, changed param name

Param name 'array' was inaccurate because the method accepts any class.