Updated assignment operator and added relational operators