A 20-year-old created swim trunks that change colour when they touch water