HIERARCHICAL STRUCTURE FORMATION AND MODES OF STAR FORMATION IN HICKSON COMPACT GROUP 31