Added Pid class.

If pid is int, it cannot handle 64bit pid (Because int of Java is
32bit). I have not decided how to handle 32bit/64bit architecture yet. I
changed pid from int to Pid for accepting any ways.