Finite Element Method for Beam Bending Problem