added get/set-head/tail/segment to Vector class for dynamic and static sized vectors