Theoretical Calculation of the Potential Curves of the Be2 Molecule