What was Mendel's first invention?