Don't give up, you're still in the first year of uni and there are many opportunities e.g. through societies to meet people and make friends. Plus, since uni has only started a few months ago, not everyone will have settled in yet and there's still time to meet others. On the flatmates side of things, I know what you mean I don't get along with all my flatmates and half of my flatmates just ignore my presence whenever I'm in. They also leave a great mess and unwashed dishes piling up in the sink for weeks until usually someone gets fed up and washes it. But don't worry about it too much cause chances are not everyone becomes friends with their flatmates. Maybe try hanging out more with your course mates, and see where it goes from there. Housing is still ages away and most people rush into renting together which doesn't always work out. There's still time, but if no asks maybe try asking them instead because maybe they're waiting for someone to ask them too. Best of luck, I hope things get better.
Charly xx