Create prefix_set.cpp

Solution to the PrefixSet task