Create uva594.cpp