An implementation of Brakerski's somewhat homomorphic encryption system