Implemented Gates