Added brute force solution to p16