First code commit.  Includes brute force implementation.