The third law of motion says: for every action, there is and equal and opposite reaction. In the case of the octopus, this is nicely demonstrated with it's method of travelling. The octopus makes an action, which is it shooting water at high rates in a certain direction, and the equal and opposite reaction is that the octopus's shooting of water in certain direction, moves him into the opposite direction with the rate that it is shooting the water.