fix compilation error on Ubuntu
bug fixed simplify
fix compilation error with MVAPICH2
merge feature/portable
add addVertex method to XPregelGraph
made "make(...)" of MemoryChank a template method.
Merge branch 'develop' of github.com:scalegraph/scalegraph into develop
Merge branch 'feature/arraycopy' into develop

Conflicts:
	src/org/scalegraph/util/MemoryChunk.x10
Add simple bug program