made alignment a bit neater
added missing space
function to grab random batches of data