added minimum

added the minimum int in MyNode.