Added gliders and made code modular for easy insertion of patterns