Introduction to quantum mechanics with aplications to chemistry