Splitting array like I always dreamed of