Source code for cuckoo search algorithm