Quantum Mechanics in a Two Dimensional Spacetime : What is a Wavefunction ?