For any set A, finite or infinite, let B^A be the set of all functions mapping A into the set B = {0, 1}. Show that the cardinality of B^A is the same as the cardinality of the set P(A). [Hint: Each element of B^A determines a subset of A in a natural way.]