Add Ball object wall collision functionality