Added solution for Build a Fence