Heisenberg Algebra and String Theory