finished Problem

made some corrections and finished optimizations