added spoj directory and test.cpp