Assignment #4 for Nature Inspired Computation