Gem for class project that does voting