CA2 - Implemented the M50 class