implemented gray scale converter
implemented gray scale converter