BOUNDARY CONDITION DETERMINED WAVE FUNCTIONS FOR THE GROUND STATES OF ONE-AND TWO-ELECTRON HOMONUCLEAR MOLECULES