nio samples

[-] remove old
[+] add new nio samples
[+] add new func to PrintUtil