Introduction of Mode B

Based on Nbody6 downloaded on 29 January 2013.
User-defined potentials (MODE B), energy bug fixed