Cube Root Function In Java