add assign 4 solutions

add assign 4 solutions