#19 : Implemented Class and logic of mask