Implemented Lab1