modified variable names in Block class (x -> h, y -> v)
fixed return value of Block.coordinate()