Added range function and basic collision demo