Add test for maximum method in Array class
Add method def to Array class to make test pass