finished defix.
finished sumSlice.
finished square
finished listPrimes
updated that the methods are working.