A University of Waterloo team found a way to reduce energy use at data centers by up to 30% — with just 30 lines of code.