Code for canning machine project