started splitting answers for ex 8
fixed ex 4 to be same as python code