finished Tutorial 3. Now creating a placeholder implementation of the vote function