Programming homework for National Taipei University of Technology