Kampala’s diversity exposed him to a wide range of ideas, but he found himself drawn to engineering and problem-solving.