small tweaks in collision detection fucntion
erase some redundant files
erase more redundant files
chmod -x for files