added exam decorator function
renamed file
added flatten module
added partial diff function