Added gitignore
Added destructor and hyper useful getPeak method
Cleaned up example a bit
Added "states" example