added print flight function and some other utils
added print flight function and some other utils