If you've ever decided against swimming in a lake that looked a little green, here's why you made the right decision.