Thanks Rohan.
I was actually thinking
...but I had not interpreted the rules correctly
(even though this topic was discussed earlier
)...I was thinking that a S can come below a W... I thought the only constraints are that W should be to the left of E and N should be above S...but thats not correct...I should be able to solve it now.