Added writeup and testcases