Changed implementation so that the Path class is now a descendant of the Array class.