A simple guide to chaos theory