Implemented simple collision checking for sword