code repository for majority rules game