Added method to catch signal interupt and print best result. This can be used to get best result in one minute.