Little update

There was no assigment opeartor for class Beam and Segment overloaded.