Beginners guide to compound interest and investing