Create MATEXP.cpp

problem: https://algospot.com/judge/problem/read/MATEXP