final project1, also moved some scratch files into scratch dir after submission