Implementing the IExtendPipe interface
Added function to add a gas to the tank
Fixed hastank method