add functions to Berlekam, add Problemsets to Main.hs