Fluxons and their interactions in a system of three stacked Josephson junctions